@charset "UTF-8";
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

header {
  background-color: #333;
  color: white;
  padding: 10px 0;
  width: 97%;
  height: 40px;
  margin: auto;
  display: flex;
  justify-content: center;
}

.cursor-pointer {
  cursor: pointer;
}

header span {
  display: inline-block;
  margin-left: 70px;
}

header div {
  text-align: center;
  margin: auto;
  line-height: 20px;
}

main {
  margin: 20px;
  padding: 20px;
  width: 80%;
  height: 650px;
  margin-top: 30px;
  margin-left: 10%;
  border: 2px solid #ccc;
}

main .sda {
  padding: 20px;
}

.match-details {
  display: none;
  /* 默认隐藏赛事详情 */
  margin-top: 10px;
}

a:link {
  color: rgb(79, 255, 170);
}

footer {
  height: 25px;
  width: 97%;
  background-color: #333;
  color: aquamarine;
  text-align: center;
  padding: 25px;
  margin-top: 70px;
}

footer div {
  text-align: center;
  line-height: 0.1px;
}

.sticky-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background: white; /* 确保背景是白色的，以防止滚动时背景颜色改变 */
  margin-top: 10px;
}

.scrollable-container {
  height: 600px; /* 设置容器的高度 */
  overflow-y: scroll; /* 允许垂直滚动 */
  max-width: 100%; /* 可选：限制最大宽度 */
}

#player-ranking-table {
  width: 100%; /* 表格宽度 */
  border-collapse: collapse; /* 去除边框合并 */
}

#player-ranking-table th, #player-ranking-table td {
  border: 1px solid #ddd; /* 设置边框 */
  padding: 8px; /* 设置单元格内边距 */
}

/* 基础样式 */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f4f4f4;
  padding: 20px;
}

.content-section {
  margin-top: 20px;
}

tbody {
  background-color: blanchedalmond;
  font-family: "楷体";
  font-size: 30px;
}

/* 表格样式 */
#player-ranking-table {
  width: 100%;
  border-collapse: collapse;
}

#player-ranking-table th,
#player-ranking-table td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
}

#player-ranking-table thead {
  background-color: #f2f2f2;
}

#player-ranking-table tbody tr:hover {
  background-color: #f5f5f5;
}

.team-info {
  margin-bottom: 20px;
  border: 1px solid #ddd;
  padding: 10px;
}

.team-name {
  font-size: 24px;
  font-weight: bold;
}

.players-list {
  list-style-type: none;
  padding: 0;
}

.players-list li {
  margin-bottom: 5px;
}

/* 响应式布局 */
@media screen and (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }
  .header nav ul {
    display: flex;
    flex-direction: column;
  }
  .header nav ul li {
    margin-bottom: 10px;
  }
}
@media screen and (max-width: 576px) {
  .container {
    padding: 10px;
  }
}/*# sourceMappingURL=index.css.map */